home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
301-325
/
disk_319
/
cnewssrc
/
cnews.orig.lzh
/
input
/
newsrunning
< prev
next >
Wrap
Text File
|
1989-06-27
|
439b
|
32 lines
#! /bin/sh
# newsrunning - turn news processing on and off
# =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
. ${NEWSCONFIG-/usr/lib/news/bin/config}
PATH=$NEWSCTL/bin:$NEWSBIN/input:$NEWSBIN:$NEWSPATH ; export PATH
umask $NEWSUMASK
stop=$NEWSARTS/in.coming/stop
case "$1"
in
on)
rm -f $stop
;;
off)
if test ! -r $stop # don't update already-existing file
then
>$stop
fi
;;
*)
echo "Usage: $0 on/off" >&2
exit 2
;;
esac
exit 0